(function() {
  'use strict';
  requirejs.config({
    "baseUrl": "../scripts",
    "paths": {
      "jquery": "../../bower_components/jquery/dist/jquery",
      "angular": "../../bower_components/angular/angular",
      "angular-route": "../../bower_components/angular-route/angular-route",
      "bootstrap": "../../bower_components/bootstrap/dist/js/bootstrap",
      "jquery-cycle2": "../../bower_components/jquery-cycle2/build/jquery.cycle2"
    },
    
    "shim": {
      "jquery": {
        "exports": "$"
      },

      "angular": {
        "exports": "angular"
      },

      "angular-route": ["angular"],
      "bootstrap": ["jquery"],
      "jquery-cycle2": ["jquery"]
    }
  });
  requirejs(['angular', 'jquery', 'app.config'], function(angular, $) {
    $(function () {
      angular.bootstrap(document, ['AMail']);
    });
    
  });

}).call(this);